package com.taotao.index.pojo;

public class Item {
	private String id;
	private String title;
	private String sellPoint;
	private long price;
	private String image;
	private String catName;
	private String desc;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getSellPoint() {
		return sellPoint;
	}
	public void setSellPoint(String sellPoint) {
		this.sellPoint = sellPoint;
	}
	public long getPrice() {
		return price;
	}
	public void setPrice(long price) {
		this.price = price;
	}
	public String getImage() {
		return image;
	}
	public void setImage(String image) {
		this.image = image;
	}
	public String getName() {
		return catName;
	}
	public void setName(String name) {
		this.catName = name;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	
	public String[] getImages() {
		
		if (image != null) {
			String[] split = image.split(",");
			return split;
		}
		return null;
	}
}
